package com.bwie.common.pojo;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 秒杀场次表
 * </p>
 *
 * @author liuxin
 * @since 2025-04-21
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("t_session")
@ApiModel(value="TSession对象", description="秒杀场次表")
public class Session implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "场次id")
    @TableId(value = "session_id", type = IdType.AUTO)
    private Long sessionId;

    @ApiModelProperty(value = "场次描述")
    private String sessionDescription;

    @ApiModelProperty(value = "场次开始时间")
    private LocalDateTime startTime;

    @ApiModelProperty(value = "场次结束时间")
    private LocalDateTime endTime;

    @ApiModelProperty(value = "场次状态，1：有效，0：无效")
    private Integer status;

    @ApiModelProperty(value = "是否删除，0：否，1：是")
    private Integer isDelete;

    @ApiModelProperty(value = "创建时间")
    private LocalDateTime createTime;

    @ApiModelProperty(value = "更新时间")
    private LocalDateTime updateTime;


}
